import http from "@/utils/http";
import { prefix } from "./config";

/**获取单号信息 */
export function getNewDbid(data) {
  return http.post(`/SellPos/NewDbid`, data);
}

/** 保存订单 */
export function saveOrder(data) {
  return http.post(`/SellPos/PosOrderSave`, data);
}

/** 获取订单 */
export function getOrder(data) {
  return http.post(`/SellPos/PosOrderId`, data);
}

/** 支付接口 */
export function pay(data) {
  return http.post(`/SellPos/Pay`, data);
}
